﻿using Dicide.ViewModels;
using System;
using Windows.UI.Xaml;

namespace Dicide.Components
{
    public sealed partial class Corner
    {
        public Corner()
        {
            this.InitializeComponent();
            DataContext = _cornerViewModel;
        }

        protected override void OnTapped(Windows.UI.Xaml.Input.TappedRoutedEventArgs e)
        {
            _cornerViewModel.OnTapped();
        }

        CornerViewModel _cornerViewModel = new CornerViewModel();
    }
}
